
  

<template>
    <div class="dashboard-container">
        <el-row :gutter="10">


            <el-col :span="24">
                <el-card class="box-card">
                    <div slot="header" class="clearfix">
                        <span style="font-weight: bold;">登录轨迹</span>
                    </div>
                    <el-calendar>
                        <template slot="dateCell" slot-scope="{date, data}">

                            <p>
                                {{ data.day.split('-').slice(1).join('-') }} {{ loginTimePeriod.indexOf(data.day) != -1 ?
                                    '已登录'
                                    : '' }}
                            </p>
                        </template>
                    </el-calendar>
                </el-card>
            </el-col>

        </el-row>



    </div>
</template>

<script>
import { mapGetters } from 'vuex'
import * as echarts from "echarts";

import docxtemplater from 'docxtemplater'
import PizZip from 'pizzip'
import JSZipUtils from 'jszip-utils'
import { saveAs } from 'file-saver'
import ImageModule from 'docxtemplater-image-module-free'
export default {
    name: 'Dashboard',
    computed: {
        ...mapGetters([
            'name', 'roleTypeFormat', 'avatar', 'loginTimePeriod', "user"
        ])
    },
    NewUserNumberByDay: null,
    data() {
        return {
        };
    },
    mounted() {
    },
    methods: {



    }


}
</script>

<style lang="scss" scoped>
.dashboard {
    &-container {
        margin: 30px;
    }

    &-text {
        font-size: 30px;
        line-height: 46px;
    }
}
</style>







